﻿
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ConfirmRegistration.aspx.cs" Inherits="CSC440TeamOne.MyHealth.Views.ConfirmRegistration"
    Title="ConfirmRegistration" MasterPageFile="~/Shared/DefaultMaster.master" %>
<asp:Content ID="content" ContentPlaceHolderID="DefaultContent" Runat="Server">

<script runat="server">
    
</script>
		<h1>Thank you for registering!</h1>
        <asp:Panel runat="server" ID="pnlRegistrationCode" Visible="true">
            <asp:Label runat="server" ID="lblRegistrationInfo" Text="An email was sent to the address provided during registration containing a registration code." /><br /><br />
            <asp:Label runat="server" ID="lblRegistrationCode" Text="Please enter your registration code to verify your account." /><br />
            <asp:TextBox runat="server" ID="txtRegistrationCode" Width="250px" />
            <asp:Button runat="server" ID="btnRegistrationCode" Text="Submit" 
                OnClick="submit_Click" />
        </asp:Panel>
        <asp:Panel runat="server" ID="pnlFailure" Visible="false">
            <asp:Label runat="server" ID="lblFailure" Text="The registration code was invalid." Font-Italic="true" ForeColor="Red" />
        </asp:Panel>
        <asp:Panel runat="server" ID="pnlThankYou" Visible="false">
            <asp:Label runat="server" ID="lblThankYou" Text="Thank you!  Your registration is confirmed." /><br />
            <br />
            <a href="HealthQuestionaire.aspx">Proceed to Heath Questionaire</a>
        </asp:Panel>
</asp:Content>
